package com.tlgen.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author: tlgen
 * @Discription:
 */
@Data
public class Enlist {

    private Integer id;
    private String encruitName;
    private String encruitRequire;
    private Integer encruitCount;

    private Integer departmentId; //数据库中含有该字段
    private Department department;

    private String applyName;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateDate;
    private Boolean enabled;
    private String enrollStudent;

}
